package com.cai.commons.utils;

public class State {
    private static final String C="成功";
    private static final String F="失败";

    public  static String strin(String name){
           String  result="<script type=\"text/javascript\">" +
            "alert(\"" +name+
            "\")"+
            "</script>";
           return result;
    }
    public static String SUCCESS=strin(C);
    public static String FAIL=strin(F);
    public static String setAlertText(String text){
        return strin(text);
    }

}
